package com.icxcc.common.framework.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SuperMapper<T> {
    List<T> list(@Param("param") Map<String, Object> param, Page<T> page);
    int save(T t);
    int update(T t);
    int delete(T t);
    int deleteByPrimarykey(long id);
    T getByPrimarykey(long id);

}